const router = require("koa-router")();
const {sql_exec} = require("../models/db")
router.get("/", async ctx => {
      const sql = `select * from employee`;
      const result = await sql_exec(sql);
      console.log(result)
      ctx.body = {
            msg: "请求成功"
      }
})
module.exports = router;